<!DOCTYPE html>
<html lang="en">

<head>
  @@include('./meta.html',{})
</head>

<body class="app-component">
  @@include('./header.html',{
  "components": "active"
  })
  <div class="component-wrapper">
    <div class="component-navleft">
      @@include('./navleft.html',{
      "tab_grid": "active"
      })
    </div><!-- component-navleft -->

    <div class="component-sidebar">
      @@include('./sidebar.html',{
      "tab_grid": "active",
      "grid": "active",
      "urlPrefix": "."
      })
    </div><!-- component-sidebar -->

      <div class="component-content">
        <div class="component-content-header">
          <nav aria-label="breadcrumb">
            <ol class="breadcrumb breadcrumb-style1 mg-b-0">
              <li class="breadcrumb-item"><a href="#">Components</a></li>
              <li class="breadcrumb-item active" aria-current="page">Grid System</li>
            </ol>
          </nav>
          <a href="javascript:;" id="componentOptions" class="text-secondary mg-l-auto d-xl-none"><i data-feather="more-horizontal"></i></a>
        </div><!-- component-content-header -->

        <div class="component-content-body" data-spy="scroll" data-target="#navSection" data-offset="120">
          <div class="content content-components">
            <div class="container">
              <h1 class="td-title">Grid System</h1>
        <p class="td-lead">Use Bootstrap's powerful mobile-first flexbox grid to build layouts of all shapes and sizes. Read the <a href="https://getbootstrap.com/docs/4.2/layout/grid/">Official Bootstrap Documentation</a> for a full list of instructions and other options.</p>

        <hr class="mg-y-40">

        <h4 id="section1" class="mg-b-10">How it Works</h4>
        <p class="mg-b-30">Bootstrap’s grid system uses a series of containers, rows, and columns to layout and align content. It’s built with flexbox and is fully responsive. Below is an example and an in-depth look at how the grid comes together.</p>

        <div data-label="Example" class="td-example">
          <div class="row">
            <div class="col-sm"><div class="pd-y-10 pd-x-20 bg-ui-01">One of three columns</div></div>
            <div class="col-sm mg-t-10 mg-sm-t-0"><div class="pd-y-10 pd-x-20 bg-ui-01">One of three columns</div></div>
            <div class="col-sm mg-t-10 mg-sm-t-0"><div class="pd-y-10 pd-x-20 bg-ui-01">One of three columns</div></div>
          </div><!-- row -->
        </div><!-- td-example -->

        <pre><code class="language-html">&lt;div class="row"&gt;
  &lt;div class="col-sm"&gt;One of three columns&lt;/div&gt;
  &lt;div class="col-sm"&gt;One of three columns&lt;/div&gt;
  &lt;div class="col-sm"&gt;One of three columns&lt;/div&gt;
&lt;/div&gt;</code></pre>

        <hr class="mg-t-50 mg-b-40">

        <h4 id="section2" class="mg-b-10">Setting One Column Width</h4>
        <p class="mg-b-30">Auto-layout for flexbox grid columns also means you can set the width of one column and have the sibling columns automatically resize around it.</p>

        <div data-label="Example" class="td-example">
          <div class="row">
            <div class="col-sm"><div class="pd-y-10 pd-x-20 bg-ui-01">1 of 3</div></div>
            <div class="col-sm-5 mg-t-10 mg-sm-t-0"><div class="pd-y-10 pd-x-20 bg-ui-01">2 of 3 (wider)</div></div>
            <div class="col-sm mg-t-10 mg-sm-t-0"><div class="pd-y-10 pd-x-20 bg-ui-01">1 of 3</div></div>
          </div><!-- row -->
        </div><!-- td-example -->
        <pre><code class="language-html">&lt;div class="row"&gt;
  &lt;div class="col-sm"&gt;...&lt;/div&gt;
  &lt;div class="col-sm-5"&gt;...&lt;/div&gt;
  &lt;div class="col-sm"&gt;...&lt;/div&gt;
&lt;/div&gt;</code></pre>

        <hr class="mg-t-50 mg-b-40">

        <h4 id="section3" class="mg-b-10">Gutters</h4>
        <p class="mg-b-30">Gutters can be responsively adjusted by breakpoint-specific padding and negative margin utility classes.</p>

        <div data-label="Default Gutter" class="td-example mg-b-30">
          <div class="row">
            <div class="col-sm"><div class="pd-y-10 pd-x-20 bg-ui-01">1 of 3</div></div>
            <div class="col-sm mg-t-10 mg-sm-t-0"><div class="pd-y-10 pd-x-20 bg-ui-01">2 of 3</div></div>
            <div class="col-sm mg-t-10 mg-sm-t-0"><div class="pd-y-10 pd-x-20 bg-ui-01">1 of 3</div></div>
          </div><!-- row -->
        </div><!-- td-example -->
        <div data-label="Small Gutter" class="td-example mg-b-30">
          <div class="row row-sm">
            <div class="col-sm"><div class="pd-y-10 pd-x-20 bg-ui-01">1 of 3</div></div>
            <div class="col-sm mg-t-10 mg-sm-t-0"><div class="pd-y-10 pd-x-20 bg-ui-01">2 of 3</div></div>
            <div class="col-sm mg-t-10 mg-sm-t-0"><div class="pd-y-10 pd-x-20 bg-ui-01">1 of 3</div></div>
          </div><!-- row -->
        </div><!-- td-example -->
        <div data-label="Extra Small Gutter" class="td-example">
          <div class="row row-xs">
            <div class="col-sm"><div class="pd-y-10 pd-x-20 bg-ui-01">1 of 3</div></div>
            <div class="col-sm mg-t-10 mg-sm-t-0"><div class="pd-y-10 pd-x-20 bg-ui-01">2 of 3</div></div>
            <div class="col-sm mg-t-10 mg-sm-t-0"><div class="pd-y-10 pd-x-20 bg-ui-01">1 of 3</div></div>
          </div><!-- row -->
        </div><!-- td-example -->

        <pre><code class="language-html">&lt;div class="row"&gt;...&lt;/div&gt;
&lt;div class="row row-sm"&gt;...&lt;/div&gt;
&lt;div class="row row-xs"&gt;...&lt;/div&gt;</code></pre>

        <hr class="mg-t-50 mg-b-40">

        <h4 id="section4" class="mg-b-10">No Gutters</h4>
        <p class="mg-b-30">The gutters between columns in our predefined grid classes can be removed with <code>.no-gutters</code>. This removes the negative margins from <code>.row</code> and the horizontal padding from all immediate children columns.</p>

        <div data-label="Example" class="td-example">
          <div class="row no-gutters">
            <div class="col-sm"><div class="pd-y-10 pd-x-20 bg-ui-01">1 of 3</div></div>
            <div class="col-sm"><div class="pd-y-10 pd-x-20 bg-ui-01">2 of 3</div></div>
            <div class="col-sm"><div class="pd-y-10 pd-x-20 bg-ui-01">1 of 3</div></div>
          </div><!-- row -->
        </div><!-- td-example -->
        <pre><code class="language-html">&lt;div class="row no-gutters"&gt;...&lt;/div&gt;</code></pre>

        <hr class="mg-t-50 mg-b-40">

        <h4 id="section5" class="mg-b-10">Reordering</h4>
        <p class="mg-b-30">Use <code>.order-</code> classes for controlling the visual order of your content. </p>

        <div data-label="Example" class="td-example">
          <div class="row">
            <div class="col-sm order-2"><div class="pd-y-10 pd-x-20 bg-ui-01">First, but second</div></div>
            <div class="col-sm order-3 mg-t-10 mg-sm-t-0"><div class="pd-y-10 pd-x-20 bg-ui-01">Second, but last</div></div>
            <div class="col-sm order-1 mg-t-10 mg-sm-t-0"><div class="pd-y-10 pd-x-20 bg-ui-01">Third, but first</div></div>
          </div><!-- row -->
        </div><!-- td-example -->
        <pre><code class="language-html">&lt;div class="row"&gt;
  &lt;div class="col-sm order-2"&gt;...&lt;/div&gt;
  &lt;div class="col-sm order-3"&gt;...&lt;/div&gt;
  &lt;div class="col-sm order-1"&gt;...&lt;/div&gt;
&lt;/div&gt;</code></pre>

        <hr class="mg-t-50 mg-b-40">

        <h4 id="section6" class="mg-b-10">Offsetting Columns</h4>
        <p class="mg-b-30">You can offset grid columns in two ways: our responsive .offset- grid classes and our margin utilities.</p>

        <div data-label="Example" class="td-example">
          <div class="row">
            <div class="col-sm-4"><div class="pd-y-10 pd-x-20 bg-ui-01">.col-md-4</div></div>
            <div class="col-sm-4 offset-sm-4 mg-t-10 mg-sm-t-0"><div class="pd-y-10 pd-x-20 bg-ui-01">.col-md-4 .offset-md-4</div></div>
          </div><!-- row -->
        </div><!-- td-example -->
        <pre><code class="language-html">&lt;div class="row"&gt;
  &lt;div class="col-sm-4"&gt;...&lt;/div&gt;
  &lt;div class="col-sm-4 offset-sm-4"&gt;...&lt;/div&gt;
&lt;/div&gt;</code></pre>

@@include('./footer.html',{})

            </div>
          </div>
        </div><!-- component-content-body -->

        <div class="component-content-sidebar section-nav">
          <label class="tx-10 tx-medium tx-spacing-1 tx-color-03 tx-uppercase tx-sans mg-b-15">On This Page</label>
          <nav id="navSection" class="nav flex-column tx-12">
            <a href="#section1" class="nav-link">How It Works</a>
            <a href="#section2" class="nav-link">Setting One Column Width</a>
            <a href="#section3" class="nav-link">Gutters</a>
            <a href="#section4" class="nav-link">No Gutters</a>
            <a href="#section5" class="nav-link">Reordering</a>
            <a href="#section6" class="nav-link">Offsetting Columns</a>
          </nav>
        </div><!-- component-content-sidebar -->
      </div><!-- component-content -->

    </div><!-- component-wrapper -->

    @@include('./_script.html',{})

  </body>
</html>
